/**
 * Copyright &copy; 2012-2016 <a href="https://git.oschina.net/zdw2016/webbase5">Webbase</a> All rights reserved.
 */
package com.foreveross.webbase.projectdemo.entity;

import org.hibernate.validator.constraints.Length;

import com.foreveross.webbase.common.persistence.DataEntity;

/**
 * 关联管理Entity
 * @author yangwanli
 * @version 2017-03-15
 */
public class ServerServertype extends DataEntity<ServerServertype> {
	
	private static final long serialVersionUID = 1L;
	private String serverid;		// 服务器id
	private String typeid;		// 类型id
	
	public ServerServertype() {
		super();
	}

	public ServerServertype(String id){
		super(id);
	}

	@Length(min=0, max=32, message="服务器id长度必须介于 0 和 32 之间")
	public String getServerid() {
		return serverid;
	}

	public void setServerid(String serverid) {
		this.serverid = serverid;
	}
	
	@Length(min=0, max=32, message="类型id长度必须介于 0 和 32 之间")
	public String getTypeid() {
		return typeid;
	}

	public void setTypeid(String typeid) {
		this.typeid = typeid;
	}
	
}